package cn.tedu.shopol.taojin.service.impl;

import cn.tedu.shopol.taojin.model.ProducthomeParticular;
import cn.tedu.shopol.taojin.mapper.ProducthomeParticularMapper;
import cn.tedu.shopol.taojin.service.IProducthomeParticularService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author tedu.cn
 * @since 2020-12-08
 */
@Service
public class ProducthomeParticularServiceImpl extends ServiceImpl<ProducthomeParticularMapper, ProducthomeParticular> implements IProducthomeParticularService {

    @Autowired
    ProducthomeParticularMapper particularMapper;

    @Autowired
    IProducthomeParticularService particularService;

    @Override
    public ProducthomeParticular findByProductCountMax() {
        return particularMapper.findByProductCountMax();
    }

    @Override
    public ProducthomeParticular findByProductCountMin() {
        return particularMapper.findByProductCountMin();
    }

}
